package com.qfjy.homework.xuxing;

/**
 * @author : 徐兴
 * @version : 1.0
 * @date : 2022/6/29 19:42
 */
public class Employee {
    public static void main(String[] args) {
        Boss itBoss = new ITBoss();
        SecretaryProxy ITProxy = new SecretaryProxy(itBoss);
        ITProxy.sign();
        System.out.println("=====================");
        Boss PerBoss = new PersonnelBoss();
        SecretaryProxy PerProxy = new SecretaryProxy(PerBoss);
        PerProxy.sign();
    }
}
